package com.windy.dailynews.presenter;

import com.windy.dailynews.model.News;
import com.windy.dailynews.model.Summary;

import java.util.List;

/**
 * Created by dingfeng on 2016/11/21.
 */
public interface HomeContract {

    interface View extends BaseView<Presenter> {
        void showTopAd(List<News.Story> list);
        void showNewsList(List<Summary> list);
        void addBeforeList(List<Summary> list);
        void setLoading();
        void hideLoading();
        void setError();
    }

    interface Presenter extends BasePresenter {
        void loadData();
        void loadMore();
    }

}
